<?php
namespace app\demo\Middleware;
class Check {

    public function handle($request, \Closure $next)
    {
        $request->type = 'imooc_singwa';

        return $next($request);
    }
}